home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11081 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  50 lines

  1. Newsgroups: comp.object,comp.lang.c++,comp.lang.java
  2. Path: netcom.com!milod
  3. From: milod@netcom.com (John DiCamillo)
  4. Subject: Re: Java: What's the Big Deal?
  5. Message-ID: <milodDo5yDE.H8B@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. References: <4i40ik$9dt@news4.digex.net>
  8. Date: Tue, 12 Mar 1996 16:41:38 GMT
  9. Sender: milod@netcom16.netcom.com
  10.  
  11. ell@access1.digex.net (Ell) writes:
  12.  
  13. >What is you can do in Java, you can't do as easily with a library in C++? 
  14.  
  15. Write applets the run on the Web (duh! :-) Folklore has it
  16. that Sun couldn't even interest anyone in Oak until the
  17. applet idea came around.  Suddenly, everybody wants some.
  18.  
  19. Seriously: The 2nd most notable thing about Java may be the
  20. JVM.  Developers can write programs that are binary compatible
  21. on a variety of platforms and operating systems (remember JF?).
  22.  
  23. Actually, the Smalltalk uh...afficianados have been saying
  24. "we had a virtual machine first!", but the interesting
  25. difference is that the JVM is standard across Java compilers
  26. (and some other language compilers) which provides the
  27. portability.  Something Smalltalk has never really had.
  28.  
  29. Other merely practical advantages (for certain kinds of apps)
  30. include:
  31.  
  32. 1) Trade speed for safety (no pointer arithmetic + GC +
  33.    all casts dynamically checked + array bounds + ...)
  34.    This makes it a bit easier to program in than C++.
  35.  
  36. 2) No header files => faster compilation
  37.  
  38. 3) Slightly simpler syntax (mostly due to the lack of
  39.    address operators, function pointers, and templates)
  40.  
  41. 4) Standard library comes with the language - which is
  42.    still not quite true of C++.
  43.  
  44. -- 
  45.     ciao,
  46.     milo
  47. ================================================================
  48.     John DiCamillo                         Fiery the Angels Fell 
  49.     milod@netcom.com       Deep thunder rode around their shores
  50.